html form label

62

html form label -

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
  </head>
  <body>
    <form>
      <label for="lfname">First name:</label> 
      <input id="lfname" name="fname" type="text" />
    </form>
  </body>
</html>

simple form label -

<%= f.input :source_type, :label => "Label Answer" %>

Comments

Submit
0 Comments